<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<table border="1">
    <tr>
        <td>用户id</td>
        <td>用户姓名</td>
        <td>用户年龄</td>
        <td>删除</td>
    </tr>
    <tr th:each="student:${studentlist}">
        <td th:text="${student.id}"></td>
        <td th:text="${student.name}"></td>
        <td th:text="${student.age}"></td>
        <td>
            <a th:href="@{deletestudentbyid(id=${student.id})}">删除用户</a>
        </td>
    </tr>
</table>
</body>
</html>